package com.alibaba.incubator.loadtestermini.model.behavior;

import java.util.Collection;

/**
 * (created at 2010-5-27)
 * 
 * @author <a href="mailto:shuo.qius@alibaba-inc.com">QIU Shuo</a>
 */
public interface SharedResourceHolder {
    public void initSharedResource();

    public void clearSharedResource();

    public Collection<String> listSharedResourceNames();

    public Object aquireSharedResource(String name);

    public Object returnSharedResource(String name, Object resource);
}
